package com.sfx.controller;

import com.sfx.model.ScopeUser;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2022-12-02
 * Time: 16:41
 */
@Component
public class ScopeBeans {
    @Bean
    public ScopeUser doCopeBeans(){
        ScopeUser scopeUser = new ScopeUser();
        scopeUser.setName("xxx");
        scopeUser.setAge(1);
        scopeUser.setId(8);
        return scopeUser;
    }
}
